_:
    @just --list

fmt:
    cargo fmt

fmt-check:
    cargo fmt -- --check

lint:
    cargo clippy -- -Dwarnings --no-deps

build:
    cargo build

build-release: _bin
    cargo build --release
    cp ../target/release/mcp-guardian-cli ../_build/bin/
    chmod 755 ../_build/bin/mcp-guardian-cli

test:
    cargo test

clean:
    cargo clean

_bin:
    mkdir -p ../_build/bin
 